package com.fc.redap.shiro.realm;

import lombok.Getter;
import lombok.Setter;
import org.apache.shiro.authc.UsernamePasswordToken;

@Getter
@Setter
public class MyAuthenticationToken extends UsernamePasswordToken {
    private String loginMethod;
    private String smsCode;

    public MyAuthenticationToken(final String username, final String password, final Boolean rememberMe, final String host, final String loginMethod, final String smsCode){
        super(username, password,rememberMe,host);
        this.loginMethod = loginMethod;
        this.smsCode = smsCode;
    }
}
